翻訳と辞書
Words near each other
・ IEEE Koji Kobayashi Computers and Communications Award
・ IEEE Lamme Medal
・ IEEE 1471
・ IEEE 1541-2002
・ IEEE 1547
・ IEEE 1584
・ IEEE 1613
・ IEEE 1667
・ IEEE 1675-2008
・ IEEE 1680
・ IEEE 1901
・ IEEE 1902.1
・ IEEE 1905
・ IEEE 2030
・ IEEE 754 revision
IEEE 754-1985
・ IEEE 802
・ IEEE 802.1
・ IEEE 802.10
・ IEEE 802.11
・ IEEE 802.11 (legacy mode)
・ IEEE 802.11 RTS/CTS
・ IEEE 802.11a-1999
・ IEEE 802.11ac
・ IEEE 802.11af
・ IEEE 802.11ah
・ IEEE 802.11ai
・ IEEE 802.11b-1999
・ IEEE 802.11c
・ IEEE 802.11d-2001


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

IEEE 754-1985 : ウィキペディア英語版
IEEE 754-1985
IEEE 754-1985 was an industry standard for representing floating-point numbers in computers, officially adopted in 1985 and superseded in 2008 by the current revision. During its 23 years, it was the most widely used format for floating-point computation. It was implemented in software, in the form of floating-point libraries, and in hardware, in the instructions of many CPUs and FPUs. The first integrated circuit to implement the draft of what was to become IEEE 754-1985 was the Intel 8087.
IEEE 754-1985 represents numbers in binary, providing definitions for four levels of precision, of which the two most commonly used are:
:
*
Precision: The number of decimal digits precision is calculated via number_of_mantissa_bits
* Log10(2). Thus ~7.2 and ~15.9 for single and double precision respectively.
The standard also defines representations for positive and negative infinity, a "negative zero", five exceptions to handle invalid results like division by zero, special values called NaNs for representing those exceptions, denormal numbers to represent numbers smaller than shown above, and four rounding modes.
== Representation of numbers ==

Floating-point numbers in IEEE 754 format consist of three fields: a sign bit, a biased exponent, and a fraction. The following example illustrates the meaning of each.
The decimal number 0.1562510 represented in binary is 0.001012 (that is, 1/8 + 1/32). (Subscripts indicate the number base.) Analogous to scientific notation, where numbers are written to have a single non-zero digit to the left of the decimal point, we rewrite this number so it has a single 1 bit to the left of the "binary point". We simply multiply by the appropriate power of 2 to compensate for shifting the bits left by three positions:
: 0.00101_2 = 1.01_2 \times 2^
Now we can read off the fraction and the exponent: the fraction is .012 and the exponent is −3.
As illustrated in the pictures, the three fields in the IEEE 754 representation of this number are:
: ''sign'' = 0, because the number is positive. (1 indicates negative.)
: ''biased exponent'' = −3 + the "bias". In single precision, the bias is ,127, so in this example the biased exponent is 124; in double precision, the bias is 1023, so the biased exponent in this example is 1020.
: ''fraction'' = .01000…2.
IEEE 754 adds a bias to the exponent so that numbers can in many cases be compared conveniently by the same hardware that compares signed 2's-complement integers. Using a biased exponent, the lesser of two positive floating-point numbers will come out "less than" the greater following the same ordering as for sign and magnitude integers. If two floating-point numbers have different signs, the sign-and-magnitude comparison also works with biased exponents. However, if both biased-exponent floating-point numbers are negative, then the ordering must be reversed. If the exponent were represented as, say, a 2's-complement number, comparison to see which of two numbers is greater would not be as convenient.
The leading 1 bit is omitted since all numbers except zero start with a leading 1; the leading 1 is implicit and doesn't actually need to be stored which gives an extra bit of precision for "free."

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「IEEE 754-1985」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.